package com.jvtd.eyl.bean.ui;

import android.support.annotation.DrawableRes;

import com.jvtd.bean.BarData;

public class BottomBarBean implements BarData {
    private String title;//名称
    private @DrawableRes int unselectDrawable;//未选择图片资源
    private @DrawableRes int selectDrawable;//选择图片资源

    public BottomBarBean(String title, int unselectDrawable, int selectDrawable) {
        this.title = title;
        this.unselectDrawable = unselectDrawable;
        this.selectDrawable = selectDrawable;
    }

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public int getUnselectDrawable() {
        return unselectDrawable;
    }

    @Override
    public int getSelectDrawable() {
        return selectDrawable;
    }

    @Override
    public String toString() {
        return "BottomBarBean{" +
                "title='" + title + '\'' +
                ", unselectDrawable=" + unselectDrawable +
                ", selectDrawable=" + selectDrawable +
                '}';
    }
}
